<template>
    <div>
        <!-- uesr--{{$route.params.ele}}--{{$route.query}}--{{$route.hash}} -->
        <br>
        <router-link to="/user/foo">foo</router-link>
        <router-link to="/user/bar">bar</router-link>
        <br>
        <router-view></router-view>
    </div>
</template>

<script>
export default {
    // watch:{
    //     '$route'(to,from){
    //         console.log(to);
    //         console.log(from);
    //     }
    // }
}
</script>

<style>

</style>
